package com.jiutong.meipengdai.entity;


import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 作用: 消息bean
 * Created by weicheng on 2017/6/9.
 */
public class MsgBean {

    /**
     * resCode : 200
     * messages : [{"\u201cmsgId\u201d":"1","sourceType":"st","theme":"消息主题","time":1493568000000,"mark":"mark"},{"\u201cmsgId\u201d":"2","sourceType":"st","theme":"消息主题","time":1493568000000,"mark":"mark"},{"\u201cmsgId\u201d":"3","sourceType":"st","theme":"消息主题","time":1493568000000,"mark":"mark"}]
     */

    private String resCode;
    private List<MessagesBean> messages;

    public String getResCode() {
        return resCode;
    }

    public void setResCode(String resCode) {
        this.resCode = resCode;
    }

    public List<MessagesBean> getMessages() {
        return messages;
    }

    public void setMessages(List<MessagesBean> messages) {
        this.messages = messages;
    }

    public MsgBean(String resCode, List<MessagesBean> messages) {
        this.resCode = resCode;
        this.messages = messages;
    }

    public MsgBean() {
    }

    public static class MessagesBean {
        @SerializedName("“msgId”")
        private String _$MsgId233; // FIXME check this code
        private String sourceType;
        private String theme;
        private String time;
        private String mark;

        public MessagesBean(String _$MsgId233, String sourceType, String theme, String time, String mark) {
            this._$MsgId233 = _$MsgId233;
            this.sourceType = sourceType;
            this.theme = theme;
            this.time = time;
            this.mark = mark;
        }

        public MessagesBean() {
        }

        public String get_$MsgId233() {
            return _$MsgId233;
        }

        public void set_$MsgId233(String _$MsgId233) {
            this._$MsgId233 = _$MsgId233;
        }

        public String getSourceType() {
            return sourceType;
        }

        public void setSourceType(String sourceType) {
            this.sourceType = sourceType;
        }

        public String getTheme() {
            return theme;
        }

        public void setTheme(String theme) {
            this.theme = theme;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getMark() {
            return mark;
        }

        public void setMark(String mark) {
            this.mark = mark;
        }
    }
}
